package framework.editors
{

	public class DefaultEditor implements IEditor
	{
		public function DefaultEditor()
		{
		}

		public function canRead(obj:*, propName:Object):int
		{
			return 1;
		}

		public function canWrite(obj:*, propName:Object):int
		{
			return 1;
		}

		public function read(obj:*, propName:Object):*
		{
			return obj[propName];
		}

		public function write(obj:*, propName:Object, value:*):void
		{
			obj[propName] = value;
		}
	}
}